//
//  NewFeatureView.swift
//  WeiBo2017
//
//  Created by 王璐 on 2017/4/27.
//  Copyright © 2017年 wl. All rights reserved.
//

import UIKit

/// 新特性视图
class NewFeatureView: UIView {

    override init(frame: CGRect) {
        super.init(frame: UIScreen.main.bounds)
        
        self.backgroundColor = UIColor.yellow
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    deinit {
        print("\(classForCoder)\(#function)")
    }
    
    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        removeFromSuperview()
    }

}
